package cn.hiapi.shop.vo;

import cn.hiapi.basic.entity.BasicEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import java.math.BigDecimal;

/**
 * @author AdinZ
 * @date 2023/2/5 6:51
 */
@Setter
@Getter
public class ActivityCardOrderVo extends BasicEntity {

    private Long id;

    private Object shop;

    @ApiModelProperty("卡包标题")
    private String title;
    @ApiModelProperty("卡包颜色")
    private String color;


    @ApiModelProperty("购买价格")
    @Column(columnDefinition = "decimal(10,2)")
    private BigDecimal price = BigDecimal.ZERO;

    @ApiModelProperty("购买价格")
    @Column(columnDefinition = "decimal(10,2)")
    private BigDecimal costPrice = BigDecimal.ZERO;

    @ApiModelProperty("状态 0 待使用,1已使用,2已过期")
    private int status;
    @ApiModelProperty("兑换开始时间")
    private long useStart;
    @ApiModelProperty("兑换结束时间")
    private long useEnd;
    @ApiModelProperty("次数数量")
    private long number;
    @ApiModelProperty("使用数量")
    private long useNum;


}
